home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 September
/
CHIP Eylül 1998.iso
/
demolar
/
okul2000
/
DEMO2000.INF
< prev
next >
Wrap
Text File
|
1998-06-05
|
4KB
|
128 lines
DefineVariables
Text [I]
Text [W]
Text [WS]
TextArray [taBackUpName]
TextArray [taInUseArray]
Text [tInuseLine]
Number [nCounter]
Number [nInUse]
Text [tInUseFileName]
Text [tNoIconsMessage]
text [tInstallationComplete]
Text [tCustomDialogText1] :=
Text [tFileInUseText5] :=
Text [tFileInUseText4] :=
Text [tFileInUseText3] :=
Text [tFileInUseText2] :=
Text [tFileInUseText1] :=
Text [tMenuHelpText1] :=
Text [tInstallIconsText1] :=
Text [tInstallIconsText2] :=
Text [tMenuText3] :=
Text [tMenuText2] :=
Text [tMenuText1] :=
Text [tOK_ButtonText] :=
Text [tCancel_ButtonText] :=
Text [tHelp_ButtonText] :=
Text [tSkipIconInstallText] :=
Number [Anamenu1] := 1
Number [Secim1] := 1
Number [Deg1] := 1
EndDefineVariables
Procedure SetupDisplay
SetDefaultBitmap Off
ShowWindow Maximized
SetBackgroundColor 0 0 255 0 0 255 TopLeftToBottomRight
SetShadowAttrTo BlackOnLightGray
SetScreenAttrTo BlackOnLightGray
SetPopupAttrTo BlackOnLightGray
SetAttentionAttrTo BlackOnLightGray
SetTopLineTo Ensis Bilgisayar E≡itim Yaz²lmlar²
EndProcedure
Procedure Install_Files
UnQueAllFiles
If WindowsVersion>3.3
QueFileGroup 1
DetermineInstallationDrive
;;QueSize ShowDrivesWithSpace RequireFixed
DetermineInstallationDirectory InstallationDrive:\Demo2000
If FreeSpaceonDrive InstallationDrive < 14500000
DialogBox 200 100 UseHeader "Yⁿkleme Hatas² Olu■tu" Returns [Anamenu1] BlackOnLightGray ModalFrame
Ctext @xy(5,10) 190 20 "Okul2000 program²n²n yⁿklenebilmesi iτin"
Ctext @xy(5,20) 190 20 "Diskinizde yeterli yer yok. En az 14,500,000 Byte "
Ctext @xy(5,30) 190 20 " yer aτt²ktan sonra tekrar deneyiniz."
PushButton @xy(80,80) 40 14 "Tamam" 1
EndDialogBox
Popup "Yⁿkleme Ba■ar²s²z"
Else
GetQuedFiles
Do Icon_Yukle
PopUp "Yⁿkleme i■lemi tamamland²"
Endif
Else
PopUp "Okul 2000 program² Windows 95 ve Windows NT alt²nda τal²■²r"
Endif
EndProcedure
Procedure Modify_Files
EndProcedure
Procedure STR_Info
;; Global Strings for DialogBox
[tOK_ButtonText] := Tamam
[tCancel_ButtonText] := ▌ptal
[tHelp_ButtonText] := Help
;; Icon installation messages
[tNoIconsMessage] := No icons will be installed. Press <OK> to continue.
[tInstallationComplete] := Yⁿkleme ▌■lemi Tamamland²
[tCustomDialogText1] := Select a group to receive Icons
[tInstallIconsText1] := BlankString
[tInstallIconsText2] := install icon(s) into a different group
[tSkipIconInstallText] := Yⁿklenecek ▌kon bulunamad²
;; Installation Menu Help
[tMenuHelpText1] := Choose Okul2000 to install this product. Choose Hardware summary to see system settings. Choose Exit to leave this installation. Press <OK> to return to main menu.
;; Installation Menu Options
;;[tMenuText1] :=
;;[tMenuText2] :=
;;[tMenuText3] :=
;; Main window top line
SetTopLineTo Ensis Bilgisayar Yaz²l²m
EndProcedure
Procedure Icon_Yukle
ProgramManagerDDE
CreateGroup("Okul2000 Professional",[WindowsDirectory]\Okul2000.GRP)
AddItem([installationdirectory]\okul2000.exe,Okul2000 Demo,[installationdirectory]\okul.ico,0)
AddItem([installationdirectory]\4d.hlp,Okul2000 Yard²m,,)
EndProgramManagerDDE
EndProcedure
Do SetupDisplay
Do STR_Info
:Start
DialogBox 200 100 UseHeader "Ensis Bilgisayar E≡itim Yaz²l²mlar²" Returns [Anamenu1] BlackOnLightGray ModalFrame
Ctext @xy(5,10) 190 20 "Okul2000 Demo yⁿkleme program²na ho■geldiniz."
Ctext @xy(5,20) 190 20 "Yⁿkle yi seτerseniz Bilgisayar²n²z²n ÷zelliklerine g÷re"
Ctext @xy(5,30) 190 20 " gerekli programlar Diskinize yⁿklenecektir."
PushButton @xy(30,80) 40 14 "Yⁿkle" 1
PushButton @xy(130,80) 40 14 "╟²k²■" 2
EndDialogBox
InCase [Anamenu1] Is
=1: Do Install_Files
[Anamenu1] := 2
=2:
SoLong
EndInCase